import httpFetch from 'share/httpFetch'

export default {
  getApplicationDefaultConfig() {
    return httpFetch.get('/api/application/control/opt/system')
  },
  postApplicationConfig(params) {
    return httpFetch.post('/api/application/control/opt', params)
  },
  getApplicationConfigList(params){
    return httpFetch.get('/api/application/control/opt/list', params)
  },
  deleteApplicationConfig(param){
    return httpFetch.delete('/api/application/control/opt', param)
  },
  getApplicationConfigDetail(param){
    return httpFetch.get('/api/application/control/opt', param)
  },
  getSelectData(url, params) {
    return httpFetch.get(url, params)
  },
}
